package com.qcxk.yuqian.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_users")
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("full_name")
    private String fullName;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("ctime")
    private String ctime;

    @TableField("last_time")
    private String lastTime;

    @TableField("phone")
    private String phone;


    @TableField("last_ip")
    private String lastIp;

    @TableField("qq")
    private String qq;

    @TableField("state")
    private String state;

    @TableField("wx")
    private String wx;

    @TableField("wxqrcode")
    private String wxqrcode;

    @TableField("isindex")
    private String isindex;

    @TableField(exist = false)
    private String rolename;

    @TableField(exist = false)
    private Integer roleid;

    @TableField("dept_id")
    private Integer deptId;

    @TableField("headpic")
    private String headpic;

    @TableField("gender")
    private String gender;

    @TableField("birth")
    private String birth;

    @TableField("party_date")
    private String partyDate;

    @TableField("hometown")
    private String hometown;

    @TableField("graduate_school")
    private String graduateSchool;

    @TableField("education")
    private String education;

    @TableField("professional")
    private String professional;

    @TableField("work_pro")
    private String workPro;

    @TableField("marriage")
    private String marriage;
    @TableField("organ_id")
    private Integer organId;
}
